package 面向对象_特征6;

public class 面向对象_1_内部类3_多继承 {

    class  A{
        public class a extends B{
            @Override
            public void print1() {
                System.out.println("这是继承B的重新");
            }
        }
        public  class  c extends C{
            @Override
            public void print2() {
                System.out.println("这是重写c的方法");
            }
        }
    }
    class  B{
        public  void print1(){

        }
    }
    class  C{
        public  void  print2(){

        }
    }
}
